package com.ytg.myapi;

import com.ytg.myapi.finder.Finder;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.ObservableArrayMap;

public interface Injector<T> {
    /**
     * @param host   目标
     * @param source 来源
     * @param finder
     */
    Injector inject(T host, Object source, Finder finder);
     void init(AppCompatActivity activity);
     void setData(String key, String data);

     String getData(String key);
     ObservableArrayMap getData();
}
